const Router = require('koa-router');
const router = new Router();
const home = require('./home')
const login = require('./login')
const register = require('./register')

router.use('/api/home', home.routes(), home.allowedMethods());
router.use('/api/login', login.routes(), login.allowedMethods());
router.use('/api/register', register.routes(), register.allowedMethods());

module.exports = router;
